-- GENERATED SPELL FOR [Everlook Bruiser] --


function spell0_11190(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(12024,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11190', 5315, 1)
end

function spell1_11190(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(23337,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11190', 559, 1)
end

function Sorts_11190(pUnit, Event)
local choix_sorts_11190 = math.random(0, 1)
if choix_sorts_11190 == 0 then
pUnit:RegisterEvent('spell0_11190', 1, 1)
end
if choix_sorts_11190 == 1 then
pUnit:RegisterEvent('spell1_11190', 1, 1)
end
end

function mob11190_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11190', math.random(1500, 3000), 1)
end

function mob11190_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11190_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11190_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11190, 1, 'mob11190_Action')
RegisterUnitEvent(11190, 2, 'mob11190_Leave')
RegisterUnitEvent(11190, 3, 'mob11190_Kill')
RegisterUnitEvent(11190, 4, 'mob11190_Die')
